import request from './instance'
export const GetLoginData=(params)=>request.post('/login',params)
export const GetGoodsList=(params)=>request.get('/order/v1/list',{params})
export const GetGoodsGoods=(params)=>request.get('/order/v1/list/1',{params})
export const GetGoodsTwo=(params)=>request.get('/order/v1/list/2',{params})
export const GetGoodsThere=(params)=>request.get('/order/v1/list/3',{params})
export const GetGoodsQue=(params)=>request.post('/order/v1/send',params)
// 用户注册
export const GetRegister=(params)=>request.post('/open/register',params)



// 确认收货 
export const GetConfirmShou = (params)=> request.post('/order/v1/confirmReceipt/'+params)

// export const GetConfirmShou = (params)=> request.post('/order/v1/confirmReceipt/'+params)


//订单详情
export const GetOrderDet = (params)=> request.get('/order/v1/orderInfo/'+params)
//订单评价
export const GetOrderEv = (params)=> request.post('/order/v1/evaluate',params)
//送货单评价
export const GetEvaluateDet = (params)=> request.get('/order/v1/orderInfo/'+params)
//查看送货单评价
export const EvaluationDetails = (params,id) => request.get('/order/v1/evaluateInfo/'+id,{params})
//发货
export const GetDeliver = (params)=> request.post('order/v1/send',params)
//快递单
export const GetExpressage = (params)=> request.get('api/star/',{params})
//快递单号详情
export const GetExpressDet = (params)=> request.get('api/star/'+params)
//快递单评价
export const GetexpressEva= (params)=> request.put('/api/star/',params)
// 消息中心列表
export const GetMessage= (params)=> request.get('/api/message',params)
//消息中心详情
export const GetMesDetails = (params)=> request.get('/api/message/'+params)
// 标记信息为已读
export const GetUpdates = (params)=> request.put(`api/message/updates?id=${params}`)



//个人中心版本信息
export const GetVersion = (params)=> request.get('/users/version',{params})
// 个人中心用户信息
export const GetInfo = (params)=> request.get('/users/info',{params})
// 个人中心用户信息展示
export const GetList = (params)=> request.get('/users/list',{params})    

// 快递单评价
export const GetStar = (params)=> request.get('/api/star',{params})    
// 评论页面
export const GetApiStar = (params)=> request.put('/api/star',params)    
// 查询详情


// 客户列表
export const GetCust = (params)=> request.get('/api/cust',{params})    

//拜访记录
export const GetInterview = (params)=> request.get('/api/visit',{params})
// 获取客户视图
export const GetClient = (params)=> request.post('/api/cust/'+params)
//获取客户详情
export const GetDetails = (params)=> request.get('/api/cust/'+params)
//修改客户信息
export const GetAlterData = (params)=> request.put('/api/cust',params)
//新增客户信息
export const GetIncrease = (params)=> request.post('/api/cust',params)
//新增走访信息
export const GetNewAdd = (params)=> request.post('/api/visit/',params)
//走访信息详情
export const GetSeeDetails = (params)=> request.get('/api/visit/'+params)
//获取客户信息
export const GetClientData = (params)=> request.get('/api/cust/',{params})
















